<!doctype html>
<html>
<head>
    <meta name="layout" content="main"/>
    <title>javascript</title>

    <script type="text/javascript">

        var c = {
            item:"chair",
            describe:function () {
                return "I am a " + this.item;
            }
        };

        c.item = "computer";
        alert(c.describe());

        Function

        function testingJavasCriptCode() {


            var ride = new Object();

            ride["not a valid property"] = "abc";

            var picture = {
                title:'sample picture',
                price:230,
                createdAt:new Date()
            }
        }

    </script>

</head>

<body>

</body>
</html>
